package com.sxhnpg.manager;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.sxhnpg.dao.BaseDao;
import com.sxhnpg.dao.UserDao;
import com.sxhnpg.dao.UserDetailDao;
import com.sxhnpg.model.User;
import com.sxhnpg.model.UserDetail;


public class UserDetailManager extends BaseManager{

	private UserDetailDao userDetailDao;
	public void setUserDetailDao(UserDetailDao userDetailDao) {
		this.userDetailDao = userDetailDao;
	}
	public UserDetailDao getUserDao() {
		return userDetailDao;
	}
	public BaseDao getEntityDao() {
		return this.userDetailDao;
	}
	
	public UserDetail find(String userid){
		return userDetailDao.find(userid);
	}
	
}
